package com.yida.gwj.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yida.common.core.annotation.Excel;
import com.yida.common.core.web.domain.BaseEntity;
import com.yida.common.core.xss.Xss;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 基础数据（楼栋）对象 common_build
 *
 * @author lqq
 * @date 2022-11-14
 */
public class GwjBaseBuild extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 楼栋ID
	 */
	@Excel(name = "楼栋ID")
	private Long buildId;

	/**
	 * 基础小区ID
	 */
	@Excel(name = "基础小区ID")
	private Long communityId;

	/**
	 * 楼栋名称
	 */
	@Excel(name = "楼栋名称（必填）")
	private String buildName;
	/**
	 * 建筑总面积
	 */
	@Excel(name = "建筑总面积")
	private BigDecimal totalSize;

	/**
	 * 期房总面积（qifang_size）
	 */
	@Excel(name = "期房总面积")
	private BigDecimal periodSize;

	/**
	 * 业主总户数
	 */
	@Excel(name = "业主总户数（必填）")
	private Integer totalOwner;

	/**
	 * 其中住宅数
	 */
	//@Excel(name = "其中住宅数")
	@Excel(name = "住宅数")
	private Integer residence;

	/**
	 * 其中非住宅数
	 */
	//@Excel(name = "其中非住宅数")
	@Excel(name = "非住宅数")
	private Integer nonResidence;

	/**
	 * 地区ID
	 */
	@Excel(name = "地区ID")
	private Long areaId;

	/**
	 * 街道ID
	 */
	@Excel(name = "街道ID")
	private Long streetId;
	
	/** 银行ID */
    @Excel(name = "银行ID")
    private Long bankId;
	
	/**
	 * 拉取数据时的自然幢标识码（zrzbsm）
	 */
	@Excel(name = "拉取数据时的自然幢标识码")
	private String buildCode;
	
	/**
	 * 总层数
	 */
	@Excel(name = "总层数")
	private Integer totalLayer;

	/**
	 * 自然幢号（zrzh）
	 */
	@Excel(name = "自然幢号")
	private String buildNo;

	/**
	 * 楼栋类型
	 */
	@Excel(name = "楼栋类型")
	private Integer buildType;
	/** 是否为公用户 默认0 不是，1是 */
    @Excel(name = "是否为公用户 默认0 不是，1是")
    private String publicFlag;

    /** 公用户创建日期 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "公用户创建日期", width = 30, dateFormat = "yyyy-MM-dd")
	private Date publicCreateTime;

    /** 开发项目标识码 */
    @Excel(name = "开发项目标识码")
    private String projectCode;
    
    /** 小区名称 */
	private String communityName;
	
	/**
     * 20230223
     * 是否是导入自建楼盘
     */
    @Excel(name = "是否是导入自建楼盘 0不是 1是")
    private String importFlag;

	public String getCommunityName() {
		return communityName;
	}

	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}

	@Xss(message = "基础楼栋名称不能包含脚本字符")
	public String getBuildName() {
		return buildName;
	}

	public void setBuildName(String buildName) {
		this.buildName = buildName;
	}

	public Integer getBuildType() {
		return buildType;
	}

	public void setBuildType(Integer buildType) {
		this.buildType = buildType;
	}

	public String getBuildCode() {
		return buildCode;
	}

	public void setBuildCode(String buildCode) {
		this.buildCode = buildCode;
	}

	public String getProjectCode() {
		return projectCode;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}

	public Long getBuildId() {
		return buildId;
	}

	public void setBuildId(Long buildId) {
		this.buildId = buildId;
	}

	public void setCommunityId(Long communityId) {
		this.communityId = communityId;
	}

	public Long getCommunityId() {
		return communityId;
	}

	public void setTotalSize(BigDecimal totalSize) {
		this.totalSize = totalSize;
	}

	public BigDecimal getTotalSize() {
		return totalSize;
	}

	public BigDecimal getPeriodSize() {
		return periodSize;
	}

	public void setPeriodSize(BigDecimal periodSize) {
		this.periodSize = periodSize;
	}

	public Integer getTotalOwner() {
		return totalOwner;
	}

	public void setTotalOwner(Integer totalOwner) {
		this.totalOwner = totalOwner;

	}

	public void setResidence(Integer residence) {
		this.residence = residence;
	}

	public Integer getResidence() {
		return residence;
	}

	public void setNonResidence(Integer nonResidence) {
		this.nonResidence = nonResidence;
	}

	public Integer getNonResidence() {
		return nonResidence;
	}
	
	public Long getBankId() {
		return bankId;
	}

	public void setBankId(Long bankId) {
		this.bankId = bankId;
	}

	public void setTotalLayer(Integer totalLayer) {
		this.totalLayer = totalLayer;
	}

	public Integer getTotalLayer() {
		return totalLayer;
	}

	public String getBuildNo() {
		return buildNo;
	}

	public void setBuildNo(String buildNo) {
		this.buildNo = buildNo;
	}

	public Long getAreaId() {
		return areaId;
	}

	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}

	public Long getStreetId() {
		return streetId;
	}

	public void setStreetId(Long streetId) {
		this.streetId = streetId;
	}

	public String getPublicFlag() {
		return publicFlag;
	}

	public void setPublicFlag(String publicFlag) {
		this.publicFlag = publicFlag;
	}

	public Date getPublicCreateTime() {
		return publicCreateTime;
	}

	public void setPublicCreateTime(Date publicCreateTime) {
		this.publicCreateTime = publicCreateTime;
	}

    public String getImportFlag() {
        return importFlag;
    }

    public void setImportFlag(String importFlag) {
        this.importFlag = importFlag;
    }

}
